package com.funcas.pcloud.upms.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.ToStringSerializer;
import com.baomidou.mybatisplus.annotation.TableName;
import com.funcas.pcloud.common.BaseEntity;
import lombok.Data;

import java.util.List;
import java.util.Objects;

/**
 * @author funcas
 * @version 1.0
 * @date 2018年04月09日
 */
@Data
@TableName("tb_group")
public class Group extends BaseEntity<Long> {

    private String name;
    private String remark;
    private Integer dataScope;
    @JSONField(serializeUsing = ToStringSerializer.class)
    private Long orgId;

    private transient List<Long> resourceIds;

}
